package com.ycsj.goldmedalnewconcept.bean;

import java.util.List;

/**
 * 创建日期：2017/11/7  17:03
 * 描述:红包领取记录的数据模型
 * 作者:张伟
 */

public class GetRedInfo {

    /**
     * redPackets : {"title":"学有所成","person":6,"redId":2,"robbedPerson":6,"usedMoney":0,"money":800,"createDate":"2017-11-03 09:52:10","persons":[{"id":1,"getDate":"2017-11-03 09:53:49","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":125,"customer":"13000000000","type":"1"},{"id":2,"getDate":"2017-11-03 09:57:00","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":124,"customer":"13000000001","type":"1"},{"id":3,"getDate":"2017-11-03 09:57:48","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":125,"customer":"13512312345","type":"1"},{"id":4,"getDate":"2017-11-03 10:03:11","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":141,"customer":"13429861286","type":"1"},{"id":5,"getDate":"2017-11-03 10:15:20","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":138,"customer":"15807154191","type":"1"},{"id":10,"getDate":"2017-11-04 11:46:58","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":147,"customer":"18695110899","type":"1"}]}
     * state : 1
     */

    private RedPacketsBean redPackets;
    private String state;

    public RedPacketsBean getRedPackets() {
        return redPackets;
    }

    public void setRedPackets(RedPacketsBean redPackets) {
        this.redPackets = redPackets;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public static class RedPacketsBean {
        /**
         * title : 学有所成
         * person : 6
         * redId : 2
         * robbedPerson : 6
         * usedMoney : 0
         * money : 800
         * createDate : 2017-11-03 09:52:10
         * persons : [{"id":1,"getDate":"2017-11-03 09:53:49","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":125,"customer":"13000000000","type":"1"},{"id":2,"getDate":"2017-11-03 09:57:00","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":124,"customer":"13000000001","type":"1"},{"id":3,"getDate":"2017-11-03 09:57:48","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":125,"customer":"13512312345","type":"1"},{"id":4,"getDate":"2017-11-03 10:03:11","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":141,"customer":"13429861286","type":"1"},{"id":5,"getDate":"2017-11-03 10:15:20","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":138,"customer":"15807154191","type":"1"},{"id":10,"getDate":"2017-11-04 11:46:58","school":"魅族1中","verification":"暂时都是王海兵","status":"1","expirationDay":"2017-11-05 00:00:00","money":147,"customer":"18695110899","type":"1"}]
         */

        private String title;
        private int person;
        private int redId;
        private int robbedPerson;
        private int usedMoney;
        private int money;
        private String createDate;
        private List<PersonsBean> persons;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPerson() {
            return person;
        }

        public void setPerson(int person) {
            this.person = person;
        }

        public int getRedId() {
            return redId;
        }

        public void setRedId(int redId) {
            this.redId = redId;
        }

        public int getRobbedPerson() {
            return robbedPerson;
        }

        public void setRobbedPerson(int robbedPerson) {
            this.robbedPerson = robbedPerson;
        }

        public int getUsedMoney() {
            return usedMoney;
        }

        public void setUsedMoney(int usedMoney) {
            this.usedMoney = usedMoney;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public List<PersonsBean> getPersons() {
            return persons;
        }

        public void setPersons(List<PersonsBean> persons) {
            this.persons = persons;
        }

        public static class PersonsBean {
            /**
             * id : 1
             * getDate : 2017-11-03 09:53:49
             * school : 魅族1中
             * verification : 暂时都是王海兵
             * status : 1
             * expirationDay : 2017-11-05 00:00:00
             * money : 125
             * customer : 13000000000
             * type : 1
             */

            private int id;
            private String getDate;
            private String school;
            private String verification;
            private String status;
            private String expirationDay;
            private int money;
            private String customer;
            private String type;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getGetDate() {
                return getDate;
            }

            public void setGetDate(String getDate) {
                this.getDate = getDate;
            }

            public String getSchool() {
                return school;
            }

            public void setSchool(String school) {
                this.school = school;
            }

            public String getVerification() {
                return verification;
            }

            public void setVerification(String verification) {
                this.verification = verification;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getExpirationDay() {
                return expirationDay;
            }

            public void setExpirationDay(String expirationDay) {
                this.expirationDay = expirationDay;
            }

            public int getMoney() {
                return money;
            }

            public void setMoney(int money) {
                this.money = money;
            }

            public String getCustomer() {
                return customer;
            }

            public void setCustomer(String customer) {
                this.customer = customer;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }
    }
}
